package com.wocai.jrt.orgadmin.product.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.product.dao.InvestReportDao;
import com.wocai.jrt.orgadmin.product.model.InvestReport;
import com.wocai.jrt.orgadmin.product.model.InvestReportBean;
import com.wocai.jrt.orgadmin.product.service.spi.InvestReportService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 投资报告相关的service业务实现。
 * @author yinlei
 * @date 2015-12-7 17:53:15
 */
@Named
public class InvestReportServiceImpl extends MyBatisServiceImpl<InvestReport, InvestReportBean, String> implements InvestReportService {
	// 添加了方法后，记得改为private
	protected InvestReportDao investReportDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<InvestReport, InvestReportBean, String> investReportDao) {
		this.baseDao = investReportDao;
		this.investReportDao = (InvestReportDao) investReportDao;
	}
}
